Mixing Metaphors: Actors as Channels and Channels as Actors

نویسندگان

  • Simon Fowler
  • Sam Lindley
  • Philip Wadler
چکیده

Channeland actor-based programming languages are both used in practice, but the two are often confused. Languages such as Go provide anonymous processes which communicate using buffers or rendezvous points—known as channels—while languages such as Erlang provide addressable processes—known as actors—each with a single incoming message queue. The lack of a common representation makes it difficult to reason about translations that exist in the folklore. We define a calculus λch for typed asynchronous channels, and a calculus λact for typed actors. We define translations from λact into λch and λch into λact and prove that both are typeand semanticspreserving. We show that our approach accounts for synchronisation and selective receive in actor systems and discuss future extensions to support guarded choice and behavioural types. 1998 ACM Subject Classification D.1.3 Concurrent Programming

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Improving Polymorphism and Concurrency in Common Object Models

computer. An abstract computer consists of communication channels that can be used to communicate with every other abstract computer in the system. It also contains an application manager that manages the applications running in the system. A computer in a network can represent a node or multiple nodes can exist on one computer. A Distributed Act++ environment provides dedicated actors for comm...

متن کامل

The Representation of Social Actors in Top Notch Textbook Series: A critical discourse analysis perspective

Abstract This study aimed to investigate how English language teaching textbooks portrayed male and female social actors according to their social roles and gender identities. To examine the linguistic representation of male and female social actors and construction of gender identities in ELT textbooks, Top Notch series was selected. To do so, attempts were made to analyze the series in terms ...

متن کامل

The Representation of Social Actors In Interchange Third Edition Series: A Critical Discourse Analysis

This study takes a critical discourse analysis approach to investigate the linguistic representation of male and female social actors and construction of gender identities in the Interchange Third Edition. The analytical models used are van Leeuwen's (1996) framework and Halliday's transitivity model (Halliday & Matthiessen, 2004). The findings of this study indicated a differential representat...

متن کامل

Using stories to bridge the chasm between perspectives: How metaphors and genres are used to share meaning

Natural language is complex in structure, and contains considerable detail. All instances of language serve the purpose of making sense of experience and the intent of actors. Language conveys an actor’s personal reference to goals, responsibility, and values. In this paper we consider how actors from distinct perspectives communicate when they have share common goals and intent. We have observ...

متن کامل

The Representation of Social Actors in Top Notch Textbook Series: A critical discourse analysis perspective

Abstract This study aimed to investigate how English language teaching textbooks portrayed male and female social actors according to their social roles and gender identities. To examine the linguistic representation of male and female social actors and construction of gender identities in ELT textbooks, Top Notch series was selected. To do so, attempts were made to analyze the series in terms ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017